complete memory leak detection test
formatting changes