Fix typo on assertNotUndefined
Fix routine camelCase for consistency