refactor grammar
remove leading zeros in tests
add test for negative floats