Adding test for xzopen with invalid mode