Fix tests xml use subtree

it's easier to maintain a set of patches on top of upstream master in a 'git subtree'. So I change to use that and add a tests.xml so the unit tests can be ran in auto testing.