fix tests on ios