Added cert tests for CloudTrail.
Merge branch 'add-cloudtrail-cert-tests' into develop
Fixes #2106.