Fix test with create scopes.

Because when use def self.scope; end inside of Class,
is not triggered the rails scope method, so is not possible
the Class respond_to scopes.