Adding tests from doctests into multilevel

Improving test coverage.

I managed to do the branching right. YaY!