Added test for float parameter and further implementation to support float and set the general implementation pattern for other param types.