Ruby on rails application test