Testing Ruby on Rails programming