Fix to e2etest to get the output and to not raise an exception