more database testing stuff