update tests for Pkg.test