OOIION-1744 Fix test_command_errors test