C++ exception with description "array value has unexpected number of elements" thrown in the test body.