tests, using mockery