refactor tests
TODO: add it later, after login feature