fix: module std in qring over ring coeffs (tr.501)
tests for tr.501