Added find method to db
More db find tests
Some fixes with insert and listener
Some modifies