Adds unit tests
Adds travis for testing