add AMAT calculation in 2level tests