wrote a test for the user_interface method print_out