Switch from testing on rails head to rails 4.0.0.beta1.