Fixed tests.
Added testing integration to Travis CI.