Added a robustness test for releaseAll()