Added test file in cpp