sandboxes APITest in a better way
specifies the exception throwing strategy for incorrect programs