debugging test
Fixed bugs in Join transactions for pending
Added new stats
Fixed unit tests