prevent random test failures

update #48