Added a test to see if rings are equal