Completed iOS tests.
Fixed OS X tests.