fixed test_commands