Made changes so that errors will be traced for instrument tests