unit tests: TopLevelMenuDirective