added tests for menu options