moved tests dir to core