fixing #68
adding a unit test fot #68