Add a test case for gh-57 (misleading error message).

The confusion arose when trying to create a space with an
existing id.
The error message is no longer misleading.