added memory test for DNMlib