added test mode to all application classes