CoreData changes and tests

Updated NSFetchResultsController to fetch by name instead of user to
see name changes
Added tests