added unit test for package usage logs