random validator should throw error