[BugFix]: (v0.5.1) Use temporary file instead of named file in aiaprep test.