Fix tests and add iOS 8 framework