Modified novice tests to use temporary file (avoid permission issues)