Testing if the packages are needed.