Improve add-menu-item test

#192 pointed out some deficiencies in this test case.  These changes make it a bit more thorough.