refactor test project: splitting test method, passing parameters to test