Unit test to cover last bug.