Moved test config into environment variables

I suppose this'll need to be re-modularised.
this looks very much like assertBool