add tests for parsing number