Fixed Spec errors when run against iOS 6 (travis runs iOS 6, apparently)