Add stderr and status in tests