added an example test
added float test case