Fix core test