some fixes for dbclient tests