Added tests for ws remote queries
Added a remote query ws test for when a  peer reconnects