Two cases of Automated tests