Should we assert that the correct error is thrown here?