Added a lot of stuff and testing for the xml param value types