Add pending state to spec helper.