Fix whitelist tests for non-android platforms