Test for ring