Added comments to test.cpp