Adding utility method to get AppDescriptors in mock-based tests