Remove mockito from codec as it causes build failure and is not used