One unit test, one bug fix.