Fix unit tests in Xcode 5