Add ring tests.