Changed main.cpp, now compilation can be made without test.