Add unit test to catch #16.