Added tests for, and fixed, UsePackage.
Changed 'attr_sub' => 'attr' to reflect its changed purpose.