Fixed linux tests shared string memory error