Fixed issues in tests because files were not sorted
Added build matrix using tox to travis