Added negative test for releaseContext.