[PATCH 2/2] tests: hash: Test case for adding duplicate hash entry