added unit tests for ex49 and added number parsing to parser