tests: Fix a bug in the parallel pushing check