adding testcases files and modify the makefile.common so that we can compile all these test files(test_*.cc & test_*.h)