test images for closed.cpp