Using XCTest in Xcode to conduct test on methods in View Controller