testing persistent connection