testing for ai class