Add unittests
Tidying whitespace
Edit unittesting
Add Travis CI integration