tests: create tmp dir on demand

There is no need to keep it in repo.
apigen: use stdout when generator is not defined
tests: clean up
tests: run all tests in serial

Every test should use own output directory. This keep atomicity for now.