[AMC] Fixed unit test before class setup