add test for package, require