add support for reading test config files per env

the test classes now read in a variable called
TEST_CONFIG to get their configuration.
If this config does not exist, they read a local one
(in the same module as the test)
use env var for reading test config in travis