iOS: add a test definition