force gateway to test mode