Fix tests on android