spec: fix tests