Move class tests under class

@rafaelfranca
Is there any test requiring the entire `core_ext/class`? If not we need to make sure there is.