fix return full TestConfig object