Tests for double type