Fixing unit tests for xcode 5.1