flat_hash and tests