Fixed test coverage for packages