changing test function