delete function changed, proper NULL handling, tests for changes
Merge branch 'master' of https://github.com/jpola/hdl_list