Change be_true and be_false to be true and be false to pass on RSpec 3 (https://github.com/rspec/rspec-expectations/commit/860ca42905582549768ee0ff0837fb6c523b8199)
Add required_keys validation for Hash parameters