Test C++ & Matlab Union program