t9: created a test for show_models command, fixed the command to show exceptions properly