fix pstatus issue and add tests
Merge branch 'master' of https://github.com/JulienDeray/sweep_algorithme