am 03747e2f: Merge "Add tests and missing functions for rs_allocation APIs."

* commit '03747e2f6136259e0477572d04004ad233871c91':
  Add tests and missing functions for rs_allocation APIs.