callback with hash test.