Added tests for layers API
Added tests for layers API
Added tests for layers API