Run tests in your browser! If you can think of a better way how to achieve same and/or turn it into a unit test, please let us know or raise a PR!

Things tried:

Please open the DevTools console to see the execution log.