Test with rails 4.0