Add offline test mode / config flag