changes to xmlify, updated test