Adding more tests.

Fast spec using reset on mocks.
Move mocks to local tests.
Remove unused logger.
Move database to in memory only.