add unit test to cover previous checkin fix