Complete test coverage (missed invalid format throw)