tests for Float and Double helpers

Change-Id: I9e7c8cdb7fff83cfd663b23334822030208e990e