Add test cases for code module
version 1.0.1-dev starts