add unit test to illustrate bug that has been fixed