updated Number/Integer assertion to support async validation