committing throw error test