Update cctest to handle double parameters