Better error report for load failures

Reports the list of classes that fail to load (due to their dependencies)
Wrong notify test end

Add a test case for calling the wrong notify test end