Handle nil inputs in Sanitize::Rails::Engine#clean and #clean!

Additionally, this pull also includes fixes for some MiniTest deprecation warnings.