allow commands to be overridden for tests