spaces removal - tests