Updated for https://github.com/koreader/koreader/pull/4691 Also the assert.is_same() argument order was wrong. The first argument is expected, the second the real-life result. Otherwise the error message in case of failure is misleading.