fix core test