Fix first-time make config=coverage test

Not sure why xargs -r is not the default...
XPath: Fix undefined behavior while calling memcpy

Calling memcpy(x, 0, 0) is technically undefined (although it should usually
be a no-op).

Fixes #20.
tests: Improve test coverage