do not use tests with is not None for added submenu