Your test fails because of a typo: 'floate' should be 'float'. I'll fix it and merge the pull request.