[python] fix some 'test' packages.