test ruby on rails application