fix connection NONE test