Fixed core test compile error