Fix bug preventing dynamically added tests from displaying properly.