test mode gateway