refator the all the tests that change the throws Exception to throws specific Exception