update tools
add test for reproducibility of results