Fix test_expand_uncommon_xs_explode
Const arguments in private method.
Ignore note files.
Free commands.
Free routing tables.
No memory leaks in tests.