set class_spy into ClassSpy's class instance variable.

but I have segfault again