add test_linger

tests that default LINGER (-1) ensures message delivery.

Note: this test fails for large messages ( > 1MB, depending on the system).