I moved this in testUtil, this is required since the hashbased spec needs to inject the mapper