Add tests for #42, #43, and #47

Add tests for role search (#42), role navigation (#43), and role complementary (#47)