This test is probably not right, better to just use `not.toThrow()`, to avoid issues with different VM implementations.

It should also verify that the output looks as expected