fix tests (works for empty all)