update test scripts
simplify package setting