Replace constant defined for testing with parameterized methods