fix unit test: bad initialization using @InjectMocks