Add XML coder tests