hash ext unit test