fix unit tests to mock IOS instead of using weird mock_ios device