added travis, fixed tests

NOT READY TO MERGE YET

Fixing tests and linking to Travis.