1. fix typo
2. add test for split name method