Adds tests, travis and coverage