fixed configuration errors in testsetup and teardown