removing uneeded parameters from test function