RR: add tests