use boost test framework to do unit test.
add a test status class.