Fixes tests for sortinithash