Add unit tests to verify behavior of custom assertions and role/resource inheritance