added errormasseges to tescase