Add a test for detecting multiple apps.