fixed test failure on older version of gearmand