The reason I am asking is because I want to create a process from the Activiti Designer and deploy it in a repository and when I connect from the web modeller to be able to open the same process without the need to import it since they use the same DB instance. Please give more information how to do that if supported.
If they are truly pointing to the same database, you should see the process definitions both in the unit test and in Explorer. There is no magic going on there. Did you check the H2 contents of the database with the H2 web viewer?