working on database testing framework