Testing insert

Tested the insert function for memory leaks.  non detected.