Update tests.cpp