Clean up code style

Pay attention to the 'no newline at the end of file'. It's fucking annoying.
Fix random failed test

Relocate the test to where they should be
Integrate Travis CI with CodeClimate
pluralize use singular as the second variable
Merge pull request #26 from toctan/hotfix

Fix random test failure