Added two XCTest cases for data model.