add a test and temp file