Add visualization tests.
Add 02-adapt to memory leaks.