Add missing main.cpp in tests