Add mock code

add the base test framework for test project