update test examples
fix variable type to avoid error on priority edition
refactor progress calculation