Fixed tests for AddCommand and RemoveCommand.
Was already merged in Bitbucket before import, marked as merged by the import user
This fix is specific to non-English systems. The tests did not fail on systems that have English as the system language.