more test improvement for handling floats and doubles.