Adding log stuff for tests
Removed cast
Doing XML situps