Added tests for omitting procs from to_hash