added test case for naming
prevent endless loops for inf double values being appended to string buffer