fix test with worker caps