Fix distinction between errors and failures in system tests