Separated sim core from tests, added dff test, not working yet