Implemented unit tests for C++ platforms