fixed tests agent package creation