fix unit test: try catch numberformat exception to throw an api exception in document data store