a bar is a kind of examination that lawyers must pass