rps unittests

Change-Id: I36d4fa91cfc96769087011f56a848e5987bdba24