Teardown

Mockery close.

If the tests uses the times function of mockery, mockery close should be called.
The lines should not be removed, but changed to test what is really expected