Fixed tests on iOS