Fix syntax in a test