tests: generate files in out/ instead of tests/