Clean befor pull request

- Remove needless fields
- Fix tests
- Flake8