valgrind doesn't reports any error thread sanitizer reports one issue on test tear down (need to investigate)