Testing with ruby on rails