Added XCTests
repo repair