added test for doubles