Adding test testing Hash.method_added hook.