Add some tests. Update travis.yml. Add 'devise' to gemfile.