* tests: refactored test directory creation into separate package * mechanical: refactored e2e test output parsing and error handling