[tests] Adjust the test for Android-specific behavior