Automated test with Guard