test for collapseable whitespaces
#28 test created
#28 copyOf() implemented and tested