Added database testing.