Simplify temp dir creation
Start convertion to mocked integration testing.

Improve NodesTable mock.

Add yet incomplete web specific testing.