test: refactor output test suite