changing format of test function definitions