Fix spec test