added a test for list_handles