- added some of the logging changes back to tokens_queue and
  tokens_producer after the recommit
- convert tests to use mock db
- updated common.py to set cache backend to memory