test/hash: add lock-free functional tests