Renamed test directory to tests
Updated gearman handler