Minor change in test function