Testing in main.cpp