Wrote test for making new material package.

The test makes sure that (b) works when getting package path.