Test weak hash table