adding mock db object for testing