1. A method comprising: controlling a temperature within a chamber, wherein a device including a memory array is located in the chamber; applying a magnetic field to the memory array; and testing the memory array during application of the magnetic field to the memory array at a target temperature.