fix(test): configuration handling for StatController test