Add tests for commands when upcheck fails