fix tests for ios