Using Rails 4 and fixing all tests;