Adding a test for [LOG4J2-834] NoClassDefFoundError in ThrowableProxy.
This is already fixed but we show with this test that the use case from
the JIRA is handled.