Structure and performance tests of a magnetocaloric cooling device with linear motion of the magnetic field source