Added infinity/NaN problem test case