Try to use Pkg.test if possible