fix tests for Xcode 6.1