Feature/test suite

Steve - please can you check my Python.
Python has a `tempfile` module that allows you to let the environment (or OS) decide where to keep stuff that ought to be cleaned up later: https://docs.python.org/2/library/tempfile.html