clean baiji-core
add enum & primitive tests