test writing to stderr