Simplified to exclude component vs service versus repository. Added some logging examples. Renamed verification method in test.