test legacy formats
fix and test detect_format=unknown