Development of A Bi-2212 superconducting magnet