Fix the gearman manager tests

Change-Id: I4175318648ca9316a0981b62db613a42fa52bf40
Merge "Fix the gearman manager tests"