Handle nil in params setter

ActionController::TestCase set nil parameters at first
Merge pull request #7 from caulfield/AC_test_case_nil_parameters_bugfix

Handle nil in params setter