added testOutput