offline mode testing