fix core tests