testing Ruby on rails app