Fix typespec test

Now, the `make test` fail by 6715c528df2e372fde478e3f87fddfb8beb6523a.