Add verification using Mockito in the LoaderTest.