added support for test cases
including use, use type, with, and spark modes to package decls