Adding test.py

removing text file and adding python tempfile script