Add tests for cloudfront