add test to detect memory leaks
add LDoc config.ld