fixed linking of XCTest for unit tests