t9: fixed test to check stderr output