parser: add a test that the string copy functions properly terminate

Or don't terminate, as the case may be.

Relates to #194.

Signed-off-by: Thiago Macieira <[email protected]>
1 file changed