Add initial test for rails 4.1 with rspec.