Catch numberformat exception + tests