Adding methods to test if a package or a preset exists in the project