updated tests to use XCUnit