Modified vector_constructor.cpp test file to check the behavior of begin()
and end() function