Added <cstring> dependency to tests.cpp