fix spectests