Added test target and Travis CI.