updated offline tests for xamarin compatibility