rib: Unit tests for RibManager

Change-Id: I8096089f6cc8a6eea7be51278b29700c79e68d5c
Refs: #1501