fix channel status at end of chanopen
add openedchan test and simplify tests makefile