Missing Test for errro handling