Create tests for the project and add travis ci.

Contains tests and target, also integration with travis ci so tests will
run.