Only reset TestConfig if it has changed since the last call

[#73237562]

Signed-off-by: Joseph Palermo <jpalermo@pivotallabs.com>