allow switch test mode through exmaple