refs #9502 Fixed isConverted method in Units conversion helper

+ target ws pointer transferred as shared_ptr
+ fixed unit test