Fix spec tests.