Adding test that throws exception from mocked method call