full test of imagecube.main