A common coil magnet for testing high field superconductors