added tests for anonymous connections