GS-11263
fixed test - inner class pojo, added Complex object test and Pojo with document test.