Development and Investigation of a Dipole Magnet with a High-Temperature Superconductor Winding