writing tests to create user input menu