test a temp file