Fixed testing, works with xcode 5