Test throwing of errors with throwException

Tests body check with Strings, Objects and Arrays