Fix a bug when you deserializer and the format to the fixtures was XML. Improvements in the tests