Create schema factory for each test to avoid stupid saxon issue.
Added duration test.