test code for class not found exception