Add tests for packages