get rid of parameters in test method