Adds test for unregistering ClassLoader