add test for max rings
respect max rings in moires. fixes #3