Test rails 4.2.0.beta4
Fix tests for Rails 4.2.0 form attribute changes

* The order of form and input attributes changed in 4.2.0
* Use new hash syntax in test