Replace the doctest with direct call to main()
Got the right output
Merge pull request #44 from yelite/master

Replace the doctest with direct call to main() in adapter.py