added hack to avoid dbtests failures due to #872

fixes #872