added tests for methods of server collection with {connection : null}