fixed error message assertion in test/lib/command/exec