Fix worker ErrorEvent test should use constructor and test non-support f...

...or legacy. Fixes #492