Fixed the type check in eval and fixed one of the tests which didn't input floats.