Initial testing code

Almost lost via dropbox so not risking that again!