Sync func test and change for package upload