Implemented MenuItemTest setVisible(boolean) and isVisible() methods

I wrote test today and it was failing today because MenuItemTest.isVisible() always returns false. Here is small update to fix situation as well as minor clean up in tests.

Please review!