Fix whitespace to mostly comply with pep8isms
Add a few initial unit tests
Add travis config