add spec to check for valid file formats

Related to https://github.com/mneorr/Alcatraz/pull/37