Commit test cases
Fix toArray
Fix typo
Fix typo