testing on ruby on rails