Edited number parsing and added new test