Remove duplicate code
Remove duplicate code

setUp code for tests to private func

mac-cain13/CoreDataKit,mac-cain13/CoreDataKit,tomlokhorst/CoreDataKit,tomlokhorst/CoreDataKit,tomasharkema/CoreDataKit,tomasharkema/CoreDataKit