rewrited IOProvider, written mockito test for MainMenuCommand