Moved test config into environment variables

I suppose this'll need to be re-modularised.