Added tests for Cdn construction