Added try-except around posprocessing for tests.

I was getting errors when Payette tried to postprocess the output
from an optimization problem or a parameter fitting benchmark.