Calibration as Testing: Inference in Simulated Macroeconomic Models