Added new test for getting command from CommandFactory using mapper