Add a test for the gearman check