Remove test because it will fail in the host

We do not have JS package in the host implementation
`error' uses basic format
Better error reporting using basic format
Simplify tests using format