test output in console