unit test for load-data.js