Test: libcrmcommon: Use proper XML functions in unit test
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>