Test file type error conditions.

Also verify repeatable options and multiple expression characters,
closes #11.