fix test.py to use `parameters` module

Completes removal of `constants` module.