added simple test filed for compilation and the generated c++ code