Fixed a bug where the image selection panels were not aware anymore whether a test is a new or an existing version of a test