Updates so that code coverage works with iOS 7 and Xcode 5