Get rid of mockito exceptions in tests.

Change-Id: I39a7177bb49c943b1b95017222b03d888c542e07
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>