Adding numbers to object creation and converting to XCTest