added assert class with equals method

added assert class with equals method