Wrote tests for the parser and fixed where negative values were not being parsed for position