has_key? method
make it a gem
fix the spec