fixing ios tests
Merge pull request #2631 from sebv/master

Fixing remaining ios tests