added more expicit tests for serializing nested data into target