How did you measure the chain and determine that it was "good"? Within what specs? Chain checkers are notoriously inaccurate; the only method I trust is to measure the chain with a good steel rule.
Whatever the measurement, almost by definition a chain which skips on a new cassette should be replaced.