Combined "InExTest" and "ExTest" into one function: "ErrorTest"