Ensure role only have roleinterface instances and more tests