fixed exception in join test
join test checks state too
debug logs plus more routing table fixes