Fix typespec test

Now, `make test` fail by 6715c528df2e372fde478e3f87fddfb8beb6523a.