Fixing typo in function name and adding test