Added some unit tests for cloudfront