NXP-12742: the beforeAfter function must be AbstractTest