test setup using Mockery