Adding initial version of test_core RTL. Based on old code in coretest but changed port name to debug.