At first testing has changed somehow on Apple systems. Read
About Testing with Xcode.
You can assign the Tabbar to an outlet an than access the array of tabs. To start Testing, use on the Menu Product -> Test or Product->Build for Testing. Testing only runs on the simulator. If to feasable, you can use NSAssert in the normal code.