java.beans.XMLEncoder/Decoder fails to process invalid chars. Add 2 test cases to reproduce the problems