Constants in tests #2

Despite other arguments against using constants in test, there is one more.

You can not make a constant private, even though you don’t use it in the rest of the codebase, if the constant is being used in the tests.

In the worst case, and when all the codebase is consistent, you’ll never have a private constant 🤔