test: truncate a space