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 <thiago.macieira@intel.com>
1 file changed