Fix bug with double digit consts, finish FunctionSpecification test