Update and rename Test.java to RingTest.java

Test ring matches