TST make tests more robust to bad config
Merge pull request #69 from hayd/test_robustness

TST make tests more robust to bad config