fixed unit test that was using the wrong method to setup the parameters before the test