fix tests import with json file