A very straightforward unittest example that can be used as reference for other test conversions in the codebase. @MoritzS knows unittest pretty well, by the sound of things, so I'm assigning this to him, but anyone quick enough can “steal” the bounty.