put app in test mode