mock db
some tests