Add some tests on the package key computation