Update to the preproces_params function to remove any keys that have a nil value. Also updated the .rspec and spec helper to add some common settings.