Added a test and linting for the showUpgradeOrNewInspector method