Please do not refactor tests for frontend. tests will never be bundled in built `gui' folder.
Tests folder for backend can also stay the same. if we are afraid that built app size will increase with more tests, we can easily exclude tests folder in build.spec of pyinstaller. see
@ChrisItisdud please don't merge I want to say something but not at home right now