Final for exercise #3

Implemented unit tests for both db and inmem repositories