corrected the tests and parameters