Update WordCountTest.swift

Fixed XCTAssertEqualDictionaries in order to be able to run this test in XCode 6 beta 5,

Current version throws Type '[String : Int]' does not conform to protocol 'Equatable'