Add test case for #2203 to map editor test