fixing test leakage