[fixed] problems with transaction, initialization of spring connector, added several unit tets (thread, graph, connections)