why not testing the returned error msg?