multiple table db testing