Fixng test failure in AS