added test for stashing messages on unregistered peer connection