ensure that filename is loaded into adapter before destruction, test