Fix return_in_class test