Add read std err line and test