Update output on stderr and log
Add new test