tests for getpackages task