Add test for egress handler returning response