SERVER-14747 SERVER-14753 Add validation tests for memory leak fixes