updated tests for new gateway param