test on rails 4

@ccocchi