Add CPP test to build process
Change parameter to reference