Refactoring of rspec and bike.rb.