Ha, this is extreme whitebox, having to look at the source code of an external library in order to write a test case... :P