Added tests for rsn connection.