[tests] add a functional gearman queue unit test