correct argument order for Error
Fix accidental use of DP in tests