Test app in ruby on rails