Change Error to interface, update sub packages, improve web tests