put core tests into own file