Fetch the expected results using getJSON

This fixes the problem that the tests fail when the data is changed.