rs: add tests to ensure rs cannot abuse app data

Test: build
Change-Id: I2ea39c767264339e300fceeb23c506883d23a14c
2 files changed