CDN health check once again mimics the instance health check.

Also added a test to assert this.

(no longer a quick fix)