Add unit tests

This is a start, more test coverage is needed.
Remove reference to deleted files
Add travis project configuration file