fix cleanup_spec tets