C++: All tests pass