CDB-1306 Fixed a warning in map and layer tests