fixed FTOF unit test.