Added version parsing.
Added negative width/height handling.
Added parsing failure test stubs.