Fix spec

Fail on postgresql because of bad test case