add support for testing romgen papilio_prog data2mem
add test support in cmake
add test support for cmake