Moved to doctests.
Remove old test file.
Fix broken test.