unit testing improvements: temp dir for file output, consistent oversampling for nircam blc calcs