test(core): much cleaner structure for tests, adding some

Entierely refactor the test environnement which was a little dirty,
Adding some tests, proceeding to test the editor other functionalities