src -> lib
add test cases for data checker