Add test for loading from a package