Add Travis
Fix accuracy of tests