Test behavior of released buffers and images