fix bug: we should remove the main.cpp from unit test code, otherwise it will overwrite the test main