Adding AVB_MAC test around transaction functions