added tests for nan/inf and numbers that have been used in string context