+add test throw error