test: got file or image info