Deleting the constant is needed to handle cases where a mock is reloaded when already defined and the produced error is super class mismatch