Add CoreTest.vhd, needs debugging