adding waitConnected to linear5 test
Merge pull request #332 from cdburkard/patches/fix_linear5

adding waitConnected to linear5 test