fixed resultDataContents not being set
added test for resultDataContents