Removes unused import.
Adds unit test for SpaceItemWriter.