Refactored out common mock initialization.  Added tests to make sure underlying repository is only being called as appropriate.