added several tests along with some more file format recognition regexes