Added missing test to testcpp.py in demo1