add unit test for AVUtils.close