update to ios 7, convert to XCTest