fully working example in the browser
browser and terminal output looks the same

- tests are broken due to change that is actually ok
- discovered that context changes get affected by next snippet
resolving problem with extra line in browser better, got most tests passing again
fixing changing var test