0.1.6 mock throw error