Merge "Add tests for the RS debug context." into jb-mr2-dev