Upgrade to Rails 4.0, web pages appear but tests do not work