Add: reworked tests for close connection