Fixed iOS sample tests.