fix tests not to fail on emulators