writing AI tests 3