added tests to iOS, still a lot more to do

Initial commit.

These tests will also for android.