Added tests for providing attachment in doc data or via seperate download.

remove JSON _attachment structure comment