added class method testing