Fixed the iOS8 Unit Test Bug