adding database testing