added test for rsn connection