Added iOS test target.
Fixed some warnings.