added Travis-CI, fixed test