Field M parser now checks for len(data) instead of field.length.

This makes is a little bit easier to write tests.