core: fixing new test
core: fixing new test

Removed the ‘hashcode’ function so we didn’t need to import it here,
but also removed the needed type assertion.

hashicorp/terraform-plugin-sdk,hashicorp/terraform-plugin-sdk