Added tests for 4xx error codes + Update page when a 4xx status gets to rails-ajax