Remove mockery dependency.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Refactoring tests.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>