Test ApiProxy exceptions.