Modified test main.cpp
Add output for examples in the README