scanner: added test for the model
model test:
- addNode: assert each node is correctly added in the tree structure
- getJsonTree: assert the result is coherent with the data stored in the tree structure
The folder structure in the fixture temp_folder
has changed to be used also by the model tests.
Migrated from D2811 (view on Phabricator)