a bar is a type of examination that lawyers must pass