Additional test case for NoClassDefFound.

Ensure that we continue to throw the exception when appropriate.