handle thread safety for crypto helper instance
update test for version check