[spec] test fixes