started on main.cpp for unittesting - errors