tests for spacingFile()