Add test cases for pypi_packages.