moved test file main.cpp into /test folder