Testing on rails4