VE-1351 Adding a test to add iMap from empty state

please consider verifying if map is deleted here as it is quite important, I know it is not a test, but it can be hard to detect in the future if this method is broken