Testing tools for iOS.

Add unit tests for iOS.