tests: speed up gateway tests