Fixed unit tests for iOS 7 updates