Better test for Hash#clear.