fix whitespace in test function