add test for checking role by sym