ring: simplify unit tests