refactoring of code
removed the test-output dir