Fixed unit tests on db and socket stream layers.
They are all passing.  I would like to wrap the socket stream rpc calls in promises though.  So that will be still to come.