added unit test to force query in datalist_get() and fixed bug