a simple gearman mock