Fixed memory leak.
Remove useless cruft.
New unit-testing framework started. Has higher code coverage than the previous test.