unittests for pull-request #62