fix tests
... tiny fix in error message
faster fetching space and index by name