Adds a test case to test isAnonymous method in CtClass.