mock db connector first draft
adding more tests and change the way we run the process next
minor change to test app
fix typo and minor refactor of the handlerwrapper