Move class tests under class

@rafaelfranca
I believe this one were correct since we are doing require on `active_support/core_ext/class`.