Added tests for gearman support.