fixing failing test on iOS