added support and a test for dynamic map service layers