The CMS Magnet Test and Cosmic Challenge