Bug fixes to test harness and iOS SDK.
Merge pull request #40 from ldjagger/master

Bug fixes to test harness and iOS SDK.