why not also testing the error msg?