fix support for dbInfo, added tests