Add rspec rake task, fix test