test the double type