Updated with more tests and improved maintainability + readability 

For example, https://github.com/ssabpisa/oada-test/blob/master/documents/1237.json does not have <Time> in the data in items. Is that right?