Initial native menu tests.
Don't run tests in browser.
Code cleanup and respond to review comments.
Better clean up.
Merge pull request #2495 from adobe/glenn/native-menu-tests

Unit tests for native menu APIs