Pinned the browser tests to the latest Playwright version that still works with Node 16. We need Node 16 for a successful build.
Also reorganized npm scripts.