spec: fix test case