tests/parsetext.cpp: distinguish between upper, lower, mixed case and capitalized words