Added plugin-test using CoreMock.js (some modifications to the core and nodes).