Add test: test_delete_borrowed_unborrowed
Adding this test helps to check for incorrect implementations where people control borrowing via a boolean flag that's not updated after a borrowed object drop. The test checks exactly this behavior.
Edited by Starukhin Yaroslav