Add tests for duplicate package names