Added equals test and a test of two instantiations