Bug with wan parameter fixed
join and leave tests added
TODO and status updated