You're not checking if it's expected to fail or to pass. The presence of the key does not determine this.