updating tests to use constants