In order not to do testing by hand (including what affects #2 and #13) a testing environment is needed. I propose using Jest for unit tests and Cypress for e2e tests.