Fix loaddata test issue