add tests and fix code

Merge request reports

Loading