Testing Ruby on rails project