Testing a method to open json files and read items within the db