Added more unittests for invalid patch formats.

This adds new unittests to cover more error cases in the parsing logic.

Bug: None
Test: Added more unittests.

Change-Id: I897ae5e966fb6777d047855a72ff0a8489f4711f
1 file changed