Add a `rake test` task and Travis config.