Add tests for pathWriter and outputStrategy