Coverage shows this line is never tested: https://coveralls.io/files/125056678
The code is correct, though.