Pass test/class_methods_test.rb to in isolation

If I run class_methods_tests directly I get fail that Professor class is not defined. This fix uses local model instead