menu unit tests

made unit tests for the menu class, also has a bit of integration
testing since the menu uses cursors and options.  All tests currently
pass