Fixing unit tests after latest changes

* Mocking webadmin module
* And make sure always a localNode is there