Started to rewrite tests, added Travis config