used for ios basic test.