Added some user tests. Set up travis-ci.