chore(middleware): update errorHandler and tests
Merge remote-tracking branch 'origin/0.4' into 0.4
chore: remove test error