added small tests for mocked nodes and integrated mock server in there