modified generate_tests so it does not duplicate tests with all doubles