add test core file for easier testing