C++ standalone: added test