Addted template method examples, db testing example