writing AI tests 4