Tests for ringmod
Fixed ringmod, again