bat test for package cache