Hash map tests