updated cpp test