tests: Convert xml and simple directories to python runner