Add equivalent class test