Fix some issues in TestGetData
Merge pull request #1 from jlupox/master

Fix some issues in TestGetData