Testing for ruby on rails