unit test for custom data appended to yaml header